package me.zhengjie.modules.service;

import me.zhengjie.modules.domain.EnterpriseDic;

import java.util.List;
import java.util.Map;

public interface EnterpriseDicService {

    int AddDic(EnterpriseDic dic);

    List<EnterpriseDic> findDicByPage(Map<String,Object> map);

    int findDicForPageByTotal(Map<String,Object> map);

    int removeDic(EnterpriseDic dic);

    int editDic(EnterpriseDic dic);

    List<EnterpriseDic> findDicByType(String type);

    int findDicByValue(String value);

    //关联企业信息和科技荣誉
    int relationDicAndEnter(Long enterId,Long dicId);
    //解除挂链
    int relieveRelationDicAndEnter(Long enterId,Long dicId);

}
